﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeaveWord.aspx.cs" Inherits="LeaveWord" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<%@ Register assembly="SuperAuthenticationCode" namespace="SuperAuthenticationCode.ServerControl" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <script  src="ckeditor/adapters/jquery.js" type="text/javascript"></script>
       
   
    <style type="text/css">
        .style1
        {
            width: 829px;
            height: 232px;
        }
        .style2
        {
            width: 165px;
        }
        .style3
        {
            width: 165px;
            height: 192px;
        }
        .style4
        {
            height: 192px;
        }
        </style>
       
   
</head>
<body>

    <form id="form1" runat="server">
    <asp:Repeater ID="Repeater1" runat="server">
         <ItemTemplate>
     <table align="center" class="style1">
          <thead>
             <tr> 
               <td class="style3"> 
                   
                 <div>
                     
                     
                  <ul>
                   <li> 楼层：&nbsp;<%#Eval("leaveid") %></li>
                   <li><asp:Image ID="Image2" runat="server" Width="150px" Height="130px"  /> <%#Eval("images") %> </li>
                   <li>用户名:<%#Eval("userName")%></li>
                  </ul>
                 </div>
                </td>        
                <td  colspan="2" class="style4" align="left" style="margin: 1px; padding: 1px; font-size: large; font-weight: bold; font-family: 宋体; overflow: auto; text-align: center;" >
                <asp:Panel ID="Panel1" runat="server"> <%#Eval("content")%></asp:Panel>
                <asp:Panel ID="Panel2" runat="server" Visible="False"><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></asp:Panel>
                 
                </td>
                 
              </tr>
             <tr>
                <td class="style2"></td>
                <td style="text-align: right">时间:<%#Eval("inTime") %></td>
                <td style="table-layout: fixed; text-align: right"  >
                        <a href="LeaveWord.aspx?lid=<%#Eval("leaveid") %>&own=<%#Eval("userName")%>&act=edit">编辑</a>
                        <a href="LeaveWord.aspx?lid=<%#Eval("leaveid") %>&own=<%#Eval("userName")%>&act=del">删除</a>
                </td>
             </tr>       
          </thead>
            <tbody>
              <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
            </tbody>
         </table>  
          </ItemTemplate>
    </asp:Repeater>
   <br />
  
   <webdiyer:AspNetPager ID="AspNetPager1" runat="server" Font-Bold="True" 
            Font-Italic="False" Font-Size="Medium" HorizontalAlign="Left" 
            FirstPageText="第一页" LastPageText="最后一页" NavigationToolTipTextFormatString="{0}" 
            NextPageText="下一页" PageIndexBoxType="TextBox" PagingButtonSpacing="10px" 
            PrevPageText="上一页" ShowCustomInfoSection="Right" 
        onpagechanged="AspNetPager1_PageChanged" UrlPaging="True" 
        ShowPageIndexBox="Auto">
    </webdiyer:AspNetPager>
    <br />
         <span> 
         <asp:Label ID="Lab1" runat="server" Text="用户"></asp:Label> 
         <asp:Label ID="LabUserName" runat="server" Text=""></asp:Label><div class="header_text"><a href="logn.aspx"> 注册</a> | <a href="javascript:" onclick="show()"> 登录</a>             
          </div>
          </span>
    <div>
    <br />
  <CKEditor:CKEditorControl ID="CKEditorControl1" runat="server" TabSpaces="0" 
            ontextchanged="Page_Load" ></CKEditor:CKEditorControl>
     </div>    
    <div class="footer">
        <p> 
         &nbsp; &nbsp;<asp:TextBox ID="TxtCode" runat="server" Font-Bold="True" Font-Size="Medium" 
                Height="30px" MaxLength="4" style="margin-top: 0px" Width="125px" Wrap="False"></asp:TextBox>
        &nbsp; &nbsp;<cc1:AuthenticationCode ID="AuthenCode" runat="server" Height="30px" 
                Width="117px" NoiseMode="LOW_NOISY">  
                  </cc1:AuthenticationCode> 
        &nbsp; 
            <asp:Label ID="Lab2" runat="server" Text="点击图片刷新验证码"></asp:Label>
        </p>
            <div>
        &nbsp;&nbsp; <asp:Button ID="submit" runat="server" Text="提交" onclick="submit_Click" 
                Height="36px" Width="118px" />
       &nbsp;&nbsp; 
                <asp:Label ID="LabError" runat="server" Text="验证码输入错误" Font-Bold="True" 
                    Font-Size="Larger" Visible="False"></asp:Label>
                </div>
    </div>
     <div class="footer">
    <asp:Repeater ID="Repeater2" runat="server">
    <ItemTemplate>
        <a href="<%#DataBinder.Eval(Container.DataItem,"url") %>" target="_blank"><%#DataBinder.Eval(Container.DataItem,"name") %></a>
    </ItemTemplate>
    </asp:Repeater>
</div>

    </form>
</body>
</html>
